package jdk8的特性.使用流来收集数据;

/**
 * 货币
 * @author idea
 * @data 2018/9/16
 */

public class Currency {

    private String name;

    private int number;

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
